//
//  MZYsecTableViewCell.m
//  WristWatch
//
//  Created by dllo on 15/10/27.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MZYsecTableViewCell.h"

@implementation MZYsecTableViewCell

- (void)dealloc {
    [_priceLabel release];
    [_parameterLabel release];
    
    [super dealloc];
}



- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createView];
    }
    return self;
}


- (void)createView {
    self.priceLabel = [[UILabel alloc] init];
    [self.contentView addSubview:self.priceLabel];
    [_priceLabel release];
//    self.parameterLabel = [[UILabel alloc] init];
//    [self.contentView addSubview:self.parameterLabel];
//    self.parameterLabel.backgroundColor = [UIColor redColor];
//    [_parameterLabel release];

}


-(void)layoutSubviews {
    [super layoutSubviews];
//    self.parameterLabel.frame = CGRectMake(0, 0, self.contentView.frame.size.width, 20);
    
    self.priceLabel.frame = CGRectMake(0, self.contentView.frame.size.height / 2, self.contentView.frame.size.width , self.contentView.frame.size.height / 2);
    
}







- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
